package com.jtjrenren.android.taxi.passenger.bean;

import java.io.Serializable;

/**
 * Created by Administrator on 2016/1/29.
 */
public class PayInfo implements Serializable {
    public static final int TYPE_PAY = 0; //支付
    public static final int TYPE_CHARGE = 1; //充值

    private int pay_type;
    private String pay_price;
    private double tip;

    private int orderType; //出租车 还是约租车
    private String orderSerno;
    private String customerPayId; //支付流水号

    public double getTip() {
        return tip;
    }

    public void setTip(double tip) {
        this.tip = tip;
    }

    public PayInfo(int paytype){
        this.pay_type=paytype;
    }

    public PayInfo(){
        this.pay_type=TYPE_PAY;
    }

    public int getPay_type() {
        return pay_type;
    }

    public void setPay_type(int pay_type) {
        this.pay_type = pay_type;
    }

    public String getPay_price() {
        return pay_price;
    }

    public void setPay_price(String pay_price) {
        this.pay_price = pay_price;
    }

    public String getOrderSerno() {
        return orderSerno;
    }

    public void setOrderSerno(String orderSerno) {
        this.orderSerno = orderSerno;
    }

    public String getCustomerPayId() {
        return customerPayId;
    }

    public void setCustomerPayId(String customerPayId) {
        this.customerPayId = customerPayId;
    }


    public int getOrderType() {
        return orderType;
    }

    public void setOrderType(int orderType) {
        this.orderType = orderType;
    }

    @Override
    public String toString() {
        return "PayInfo{" +
                "pay_type=" + pay_type +
                ", pay_price='" + pay_price + '\'' +
                ", tip=" + tip +
                ", orderType=" + orderType +
                ", orderSerno='" + orderSerno + '\'' +
                ", customerPayId='" + customerPayId + '\'' +
                '}';
    }
}
